import React, { Component } from 'react'
import { withRouter } from 'react-router-dom'

class Detail extends Component {
    render() {
        console.log(this.props)
        const { id } = this.props.location.state
        return (
            <div>
                我是详情 ---
            </div>
        )
    }
}

export default withRouter(Detail)
